package xg2013.totoro.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import xg2013.totoro.dao.BaseHibernateDao;
import xg2013.totoro.dao.ValidityDao;
import xg2013.totoro.domain.Validity;
/**
 * 
 * @author xiang fusheng
 *
 */
/*
 * 学位service
 */
@Transactional
@Service
public class  ValidityService extends BaseService<Validity, Integer>{
	
	private   ValidityDao   validityDao;

	@Autowired
	@Override
	public void setBaseDao(BaseHibernateDao<Validity, Integer> validityDao) {
		// TODO Auto-generated method stub
		this.baseDao = validityDao;
		this.validityDao = (ValidityDao)validityDao;
	}

	

	

	

}
